package com.jd.tank.abstractfactory;

import java.awt.*;

/**
 * @program: MyTank
 * @description:
 * @author: 王术平
 * @create: 2021-01-13 18:16
 **/
public abstract class BaseExplode {
    public int x;
    public int y;
    public boolean living;

    public BaseExplode(int x, int y, boolean living) {
        this.x = x;
        this.y = y;
        this.living = living;
    }

    public abstract void paint(Graphics g);

    public abstract boolean isLiving();
}
